Updating a Web Service Xbasic Class on the Classic Server

Description

Xbasic classes used to implement web services are not reloaded unless the Classic Application Server is restarted or the __AARegisterClasses.a5w page is called.

Discussion

If you have a web service that you publish to the Classic Application Server, and if you edit a function in the class that your service exposes the service will not reflect the edited function until you exit and restart the server.

Exiting and restarting the server is inconvenient and often impossible if you are publishing to a remote server.

Xbasic classes can be reloaded using a system page called __AARegisterClasses.a5w. When you finish publishing your app to the Classic Server, run the __AARegisterClasses.a5w page to re-register all of your Xbasic classes. Your web service will then work as expected.

Updating Web Services on IIS or Alpha Cloud

The Application Server for IIS and Alpha Cloud reload updated Xbasic classes for web services automatically when they're published.

See Also